﻿@model SimpleContent
@Cms.ScriptInclude("Themes/Admin/Scripts/tiny_mce/tiny_mce.js")
@Cms.ScriptInclude("Themes/Admin/Scripts/tiny_mce/jquery.tinymce.js")
@Cms.ScriptInclude("Themes/Admin/Scripts/tiny_mce/cms.tinymce.js")

<div id="simpleeditor">
	@Html.LabelFor(m => m.Content, "Content")
	@Html.TextAreaFor(m => m.Content, new { style = "width:100%;height:400px" })
	@Html.ValidationMessageFor(m => m.Content)
</div>

<script type="text/javascript">
	$(document).ready(function () {
		enableTinyMce("textarea", "400px","100%", "@Url.Action("Browse", "Files")");
    });
</script>
